* {
  margin: 0;
}
body{
  font-family: Hiragino Sans GB,PingFang SC,Microsoft YaHei,Arial;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

.bg-white {
  background-color: #fff;
}

.bg-base {
  background-color: $--color-primary !important;
}

.bg-gray {
  background-color: $--background-color-base;
}

.bg-dark {
  background-color: $--color-dark;
}

.border-base {
  border-color: $--color-primary !important;
}
.border-dark {
  border-color: $--color-dark !important;
}
.border-default {
  border-color: $--border-color-base !important;
}

.c-white {
  color: #ffffff;
}

.c-base {
  color: $--color-primary !important;
}

.c-default {
  color: #333 !important;
}

.c-gray {
  color: #999999 !important;
}

.c-red {
  color: red !important;
}

//表格特殊列样式
.specialColumn {
  color: #fff;
  background-color: $--color-primary !important;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt20 {
  margin-top: 20px;
}

.mb20 {
  margin-bottom: 20px;
}

.mr20 {
  margin-right: 20px;
}

.ml20 {
  margin-left: 20px;
}

.mr10 {
  margin-right: 10px;
}

.pd20 {
  padding: 20px;
}
.maxWidth{
  max-width: 1110px;
}
//横向滚动条不隐藏问题
@media only screen and (min-width: 768px) {
  .el-scrollbar__wrap {
    //overflow-x: hidden;
    height: calc(100% + 17px);
  }
}

// 页头标记调整
.nav .el-badge__content {
  height: 14px;
  line-height: 14px;
  border-width: 0;
}

//card添加标题背景色
.el-card {
  border: 1px solid $--border-color-base;
  box-shadow: $--box-shadow-light;
  .el-card__header {
    padding: 12px 20px;
    height: 50px;
    @extend .bg-gray;
    div {
      display: flex;
      justify-content: space-between;
      .el-button {
        padding: 5px 12px;
      }
      .el-select {
        margin-left: 20px;
        max-width: 120px;
      }
      .el-input__inner{
        border:1px solid;
        @extend .border-base;
      }
      .el-radio-group {
        margin-left: 10px;
        margin-top: -2px;
        height: 26px;
        .el-radio-button {
          height: 26px;
          line-height: 26px;
          .el-radio-button__inner {
            padding: 8px 12px;
          }
        }
      }
    }
  }
}

//表格嵌套card去掉card的内容padding
.jxf-table-card {
  padding: 0;
  .el-card__body {
    margin: -1px;
    padding: 0;
  }
  .el-table .cell {
    white-space: pre-line;
  }
}

//table tooltip 限高
.el-tooltip__popper {
  max-width: 400px;
  line-height: 180%;
  word-break: break-all;
}

//弹框标题添加背景色
.el-dialog__wrapper {
  .el-dialog__header {
    @extend .bg-gray;
  }
}

//step样式调整
.processStep {
  .el-step {
    .el-step__line {
      top: 20px !important;
    }
    .el-step__icon {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
    .el-step__head.is-finish {
      .el-step__icon {
        @extend .c-white;
        @extend .bg-base
      }
    }
  }
}

//错误提示框样式调整
.jxf-errorTip {
  padding-bottom: 10px;
  .el-message-box__status {
    padding-top: 10px;
    font-size: 50px !important;
  }
}

//list标题
.list-title {
  position: relative;
  margin-top: 20px;
  display: inline-block;
  font-size: 16px;
  color: #fff;
  padding: 0px 80px 0px 20px;
  width: auto;
  height: 46px;
  line-height: 46px;
  background-color: #9ea7b4;
  &:after {
    background-color: transparent;
    content: "";
    position: absolute;
    top: 0;
    right: -46px;
    border: 23px solid;
    border-color: transparent transparent transparent #9ea7b4;
  }
}

.w-e-menu {
  //z-index: 100!important;
}

.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9!important;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409EFF;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 120px;
  height: 120px;
  line-height: 120px;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}

// 订单 step改变默认样式
.jxf-Step {
  margin: 40px 0;
  .el-step__icon-inner[class*=el-icon]:not(.is-status) {
    padding: 4px;
    font-size: 30px;
    border: 1px solid;
    border-radius: 100%!important;
  }
  .el-step__head.is-process {
    color: #c0c4cc;
    border-color: #c0c4cc;
  }
  .el-step__title {
    padding: 6px 0 0 0;
  }
  .el-step__title.is-process {
    color: #c0c4cc;
  }
}

// 用户详情样式
.jxf-content {
  padding-bottom: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  .listArea {
    padding: 20px;
    .qualificationInfo {
      > div {
        display: inline-block;
      }
      .qualification {
        display: inline-block;
        position: relative;
        margin-bottom: 10px;
        margin-right: 20px;
        width: 130px;
        height: 130px;
        border: 1px solid rgba(228, 228, 228, 1);
        i {
          position: absolute;
          left: 0;
          bottom: 0;
          width: 100%;
          height: 30px;
          line-height: 30px;
          text-align: center;
          font-style: normal;
          background: rgba(249, 250, 252, 1);
        }
      }
    }

    img {
      margin-right: 10px;
      width: 120px;
      height: 120px;
    }
  }
  .btn-area {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .el-upload-list {
    display: none;
  }
}

// 列表中的flex
.flex-area {
  height: 100%;
}
.jxf-flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  .el-input {
    width: 200px;
  }
}

.jxf-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
  p {
    padding: 5px 0;
    font-size: 14px;
    color: #999;
  }
}

// 箭头标题
i.jxf-likeIcon {
  position: relative;
  display: block;
  padding: 15px 80px 15px 20px;
  width: 100px;
  font-style: normal;
  font-size: 16px;
  color: #fff;
  background: $--color-primary;
  &:after {
    background-color: transparent;
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    border: 25px solid;
    border-color: transparent transparent transparent $--color-primary;
  }
}
.pd10 {
  padding: 10px;
}

.el-picker-panel {
  z-index: 100000!important;
}

.viewer-container {
  z-index: 10000!important;
}

// 去除element-ui的表格错位的情况
body .el-table th.gutter {
  display: table-cell!important;
  opacity: 0;
}

// 被选中的tree树的字体颜色变化
.menuPermission {
  .is-current .el-tree-node__content:first-child {
    color: #00C5CD!important;
  }
}
